package remote.webservice;

import java.util.List;

import org.springframework.remoting.jaxrpc.ServletEndpointSupport;

import remote.RemoteServerInfoService;
import service.MyService;
import bean.Person;

public class JaxRpcServerInfoService extends ServletEndpointSupport implements	RemoteServerInfoService {
	private MyService myService;
	protected void onInit() {
		myService = (MyService) getWebApplicationContext().getBean("myService");
	}
	public List<Person> getAllPersonList() {
		return myService.getAllPersonList();
	}
	public Object[] getAllPersonObj() {
		return myService.getAllPersonObj();
	}
 
 

}
